package com.yq.ylmall.dto.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "商品操作封装实体")
public class ProductDto {

    @ApiModelProperty(value = "商品ID, 有更无添")
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "商品分类")
    private List<Long> categories;

    @ApiModelProperty(value = "计量单位")
    private String unitName;

    @ApiModelProperty(value = "商品规格ID")
    private Long specValueId;

    @ApiModelProperty(value = "商品详情信息")
    private ProductDetailsDto productDetails;

    @ApiModelProperty(value = "商品Sku列表")
    private List<ProductSkuDto> productSkuList;

}
